/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.bar.carta.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link Tipo}.
 * </p>
 *
 * @author    pgonzalm
 * @see       Tipo
 * @generated
 */
public class TipoWrapper implements Tipo, ModelWrapper<Tipo> {
	public TipoWrapper(Tipo tipo) {
		_tipo = tipo;
	}

	public Class<?> getModelClass() {
		return Tipo.class;
	}

	public String getModelClassName() {
		return Tipo.class.getName();
	}

	/**
	* Returns the primary key of this tipo.
	*
	* @return the primary key of this tipo
	*/
	public long getPrimaryKey() {
		return _tipo.getPrimaryKey();
	}

	/**
	* Sets the primary key of this tipo.
	*
	* @param primaryKey the primary key of this tipo
	*/
	public void setPrimaryKey(long primaryKey) {
		_tipo.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the tipo ID of this tipo.
	*
	* @return the tipo ID of this tipo
	*/
	public long getTipoId() {
		return _tipo.getTipoId();
	}

	/**
	* Sets the tipo ID of this tipo.
	*
	* @param tipoId the tipo ID of this tipo
	*/
	public void setTipoId(long tipoId) {
		_tipo.setTipoId(tipoId);
	}

	/**
	* Returns the create date of this tipo.
	*
	* @return the create date of this tipo
	*/
	public java.util.Date getCreateDate() {
		return _tipo.getCreateDate();
	}

	/**
	* Sets the create date of this tipo.
	*
	* @param createDate the create date of this tipo
	*/
	public void setCreateDate(java.util.Date createDate) {
		_tipo.setCreateDate(createDate);
	}

	/**
	* Returns the activo of this tipo.
	*
	* @return the activo of this tipo
	*/
	public boolean getActivo() {
		return _tipo.getActivo();
	}

	/**
	* Returns <code>true</code> if this tipo is activo.
	*
	* @return <code>true</code> if this tipo is activo; <code>false</code> otherwise
	*/
	public boolean isActivo() {
		return _tipo.isActivo();
	}

	/**
	* Sets whether this tipo is activo.
	*
	* @param activo the activo of this tipo
	*/
	public void setActivo(boolean activo) {
		_tipo.setActivo(activo);
	}

	public boolean isNew() {
		return _tipo.isNew();
	}

	public void setNew(boolean n) {
		_tipo.setNew(n);
	}

	public boolean isCachedModel() {
		return _tipo.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_tipo.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _tipo.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _tipo.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_tipo.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _tipo.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_tipo.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new TipoWrapper((Tipo)_tipo.clone());
	}

	public int compareTo(com.bar.carta.model.Tipo tipo) {
		return _tipo.compareTo(tipo);
	}

	@Override
	public int hashCode() {
		return _tipo.hashCode();
	}

	public com.liferay.portal.model.CacheModel<com.bar.carta.model.Tipo> toCacheModel() {
		return _tipo.toCacheModel();
	}

	public com.bar.carta.model.Tipo toEscapedModel() {
		return new TipoWrapper(_tipo.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _tipo.toString();
	}

	public java.lang.String toXmlString() {
		return _tipo.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_tipo.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public Tipo getWrappedTipo() {
		return _tipo;
	}

	public Tipo getWrappedModel() {
		return _tipo;
	}

	public void resetOriginalValues() {
		_tipo.resetOriginalValues();
	}

	private Tipo _tipo;
}